package com.example.knowman.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.knowman.ReturnMessage.Message;
import com.example.knowman.dao.knowMainEx;
import com.example.knowman.dao.knowMainEx9_5ByPeriod;
import com.example.knowman.entity.knowArchFiles;
import com.example.knowman.entity.knowCategory;
import com.example.knowman.entity.knowMain;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IknowArchFilesService extends IService<knowArchFiles>{


    List<knowArchFiles> getByKnowId(Integer knowId);


    Message insertItems(knowArchFiles item);


    void downloadFile(String url, HttpServletResponse response);

    void AddDCount(Integer archFilesId);

    void Upload(MultipartFile file, Integer knowId, String staffCode);

    Message deleteByarchFilesId(Integer archFilesId);
}
